import pytest
from log import test_log
import os
from mail import send_yj
if __name__ == '__main__':
    test_log()
    pytest.main(["-s","test.py","--alluredir=./baogao","--clean-alluredir"])
    os.system("allure generate baogao -o ./报告 --clean")
    send_yj(["log.log","报告/index.html"])


